package chu.dejian.models;

import java.sql.Timestamp;
import java.util.List;

/**
 * Created by Administrator on 2015/12/18 0018.
 */
public class GetMeasurementRequest {
    int Device_model;
    int Device_type;
    int Device_sub_type;
    Timestamp From_time;
    Timestamp to_time;

    public GetMeasurementRequest(){
        setDevice_model(1);
        setDevice_type(1);
        setDevice_sub_type(1);
    }
    public GetMeasurementRequest(Timestamp fromTime,Timestamp toTime){
        this();
        setFrom_time(fromTime);
        setTo_time(toTime);
    }

    public int getDevice_model() {
        return Device_model;
    }

    public void setDevice_model(int device_model) {
        Device_model = device_model;
    }

    public int getDevice_type() {
        return Device_type;
    }

    public void setDevice_type(int device_type) {
        Device_type = device_type;
    }

    public int getDevice_sub_type() {
        return Device_sub_type;
    }

    public void setDevice_sub_type(int device_sub_type) {
        Device_sub_type = device_sub_type;
    }

    public Timestamp getFrom_time() {
        return From_time;
    }

    public void setFrom_time(Timestamp from_time) {
        From_time = from_time;
    }

    public Timestamp getTo_time() {
        return to_time;
    }

    public void setTo_time(Timestamp to_time) {
        this.to_time = to_time;
    }
}
